package com.luom.springbootinit.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 邮箱服务配置
 */
@Configuration
@Data
public class MailConfig {
   @Value("${spring.mail.username}")
   private String username;

   @Value("${spring.mail.password}")
   private String password;

   @Value("${spring.mail.host}")
   private String host;

   @Value("${spring.mail.nickname}")
   private String nickname;
}